package edu.sctu.jsoup.repo;

import edu.sctu.jsoup.entity.StudentEntity;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2017-10-9.
 */
@Repository
public interface StudentRepo extends CrudRepository<StudentEntity, Long>{


    List<StudentEntity> findByName(String name);

}
